import axios from 'axios';

// 发送优惠券列表
let send_list = (params) => axios.get('/marketing/coupon/grant', { params });

// 发送优惠券
let send_coupons = (data) => axios.post('/marketing/coupon/user/grant', data);

// 优惠券列表
let coupon_list = (params) => axios.get('/marketing/coupon/released', { params });

export default {
    send_list,
    send_coupons,
    coupon_list,
}

